#!/usr/bin/env python3
from commit import *
from music import music_test
from notify import send
from txvip import main as txmain

try:
    music_test()
    tx=txmain()
    if CacheHandler.get_cache('msg')=="重复签到":
        a="签到成功"
    else:
        a="签到失败或者不需要签网易云"
    send("签到", f"腾讯视频：{CacheHandler.get_cache('腾讯日志')}\n网易音乐：{a}")
except KeyError as error:
    print(error)

